package ru.aslanov.schedule.client;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * Created: Feb 24, 2010 12:27:21 PM
 *
 * @author Sergey Aslanov
 */
public class UserData implements Serializable {
    private String email;
    private boolean isAdmin;

    public UserData() {
    }

    public UserData(String email, boolean isAdmin) {
        this.email = email;
        this.isAdmin = isAdmin;
    }

    public String getEmail() {
        return email;
    }

    public boolean isAdmin() {
        return isAdmin;
    }
}
